package com.aliyun.oss.UserMapper;

import com.aliyun.oss.pojo.Entity.Food;
import com.aliyun.oss.pojo.Vo.UserDish;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DishMapper extends BaseMapper<Food> {
    @Select("select * from dish where category_id=#{categoryId}")
    List<UserDish> list(Long categoryId);
}
